package com.shop.user.atom.dao;

import com.shop.common.entity.user.UserPay;
import com.shop.common.model.result.user.UserPayOutput;

public interface UserPayMapper {
    /**
     *
     * @mbggenerated 2019-02-28
     */
    int deleteByPrimaryKey(Integer id);

    int deleteByUserId(Integer id);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int insert(UserPay record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int insertSelective(UserPay record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    UserPay selectByPrimaryKey(Integer id);

    UserPayOutput selectByUserId(Integer id);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int updateByPrimaryKeySelective(UserPay record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int updateByPrimaryKey(UserPay record);
}